A typesafe bitmask flag generator.
The bitflags! macro generates a struct that holds a set of C-style bitmask flags. It is useful for creating typesafe wrappers for C APIs.
bitflags!
struct